<div class="banner">
  <a href="<{$data.ad_pic_link}>" target="_blank">
    <img data-src="<{$data.ad_pic|storager}>" alt="<{$setting.ad_pic_txt}>" <{if $data.ad_pic_width}>width="<{$data.ad_pic_width}>"<{/if}> <{if $data.ad_pic_height}>height="<{$data.ad_pic_height}>"<{/if}> />
  </a>
</div>
